import network from './request'
import apiList from './apiList'


// 扫码登录
export function userOpenIdPcLogin(data, params) {
    return network.request({
        url: apiList.login.userOpenIdPcLogin,
        data,
        ...params
    })
}

// 获取微信JS签名
export function getJsConfigSign(data, params) {
    return network.request({
        url: apiList.login.getJsConfigSign,
        data,
        ...params
    })
}

export function getDomainUrls(data, params) {
    return network.request({
        url: apiList.login.getDomainUrls,
        data,
        ...params
    })
}